#ifndef GATE_H
#define GATE_H

#include "cnsMacroGlobal.h"
#include "gate_global.h"
#include "client-socket.h"
#include "server-socket.h"

class GATE_EXPORT Gate: public QThread
{
private:
    ServerSocketProcPtr _srvSocketProc;
    ClientSocketProcPtr _clientSocketProc;
public:
    Gate();
    void close();
protected:
    virtual void run() override;
};

#endif // GATE_H
